<?php


namespace app\models;

use yii\db\ActiveRecord;

class admin extends ActiveRecord{
	//public $username;
	//public $password;
	//public $repassword;
	public function rules(){
		return [
			//['id','integer'],
			[['password' , 'username'] , 'required' , 'message' => '不能为空'],
			
		];
	}


}








?>